<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<link type="text/css" rel="stylesheet" href="../zxy/css/emp_info/emp_detail.css">
	<div id="zxy_ed_emp_basic_tool">
		<a id="zxy_ed_emp_basic_tool_edit" class="easyui-linkbutton"></a>
	</div>
	<div class="zxy_ed_content">
		<div class="zxy_ed_view_content">
			<table class="zxy_ed_table">
				<tbody>
					<tr>
						<td><span class="zxy_ed_table_title">性别</span></td>
						<td><span class="zxy_ed_table_item">${emp.empDetailInfo.sexSetting.sex }</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ed_table_title">身份证号</span></td>
						<td><span class="zxy_ed_table_item">${emp.empDetailInfo.idCard }</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ed_table_title">生日</span></td>
						<td><span class="zxy_ed_table_item">${emp.empDetailInfo.birthday }</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ed_table_title">最高学历</span></td>
						<td><span class="zxy_ed_table_item">${emp.empDetailInfo.educationSetting.education }</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ed_table_title">入职日期</span></td>
						<td><span class="zxy_ed_table_item">${emp.empDetailInfo.hireDate }</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ed_table_title">转正日期</span></td>
						<td><span class="zxy_ed_table_item">${emp.empDetailInfo.correctedDate}</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ed_table_title">离职日期</span></td>
						<td><span class="zxy_ed_table_item">${emp.empDetailInfo.resignDate}</span></td>
					</tr>	
							
				</tbody>
			</table>
		</div>
	</div>
	
	<div class="zxy_ed_content">
		<div class="zxy_ed_view_content">
			<table class="zxy_ed_table">
				<tbody>
					<tr>
						<td><span class="zxy_ed_table_title">政治面貌</span></td>
						<td><span class="zxy_ed_table_item">${emp.empDetailInfo.politicalSetting.political}</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ed_table_title">健康状况</span></td>
						<td><span class="zxy_ed_table_item">${emp.empDetailInfo.healthSetting.health}</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ed_table_title">国籍</span></td>
						<td><span class="zxy_ed_table_item">${emp.empDetailInfo.nationality}</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ed_table_title">民族</span></td>
						<td><span class="zxy_ed_table_item">${emp.empDetailInfo.nationSetting.nation}</span></td>
					</tr>	
					<tr>
						<td><span class="zxy_ed_table_title">婚姻状况</span></td>
						<td><span class="zxy_ed_table_item">${emp.empDetailInfo.maritalStatus}</span></td>
					</tr>	
				</tbody>
			</table>
		</div>
	</div>
	
	
	
	<div id="zxy_ed_window"></div>
	
	<input type="hidden" id="zxy_ed_emp_id" value="${emp.empId }"/>
	<script>
		var empId=$("#zxy_ed_emp_id").val();
		/* $("#zxy_ed_window").window({
			width:1000,
		    height:400,
		    modal:true,
		    collapsible:false,
		    minimizable:false,
		    maximizable:false,
		    resizable:false,
		    href:'../emp/empBasicEdit',
		    closed:true
		}); */
		//编辑按钮
		$("#zxy_ed_emp_basic_tool_edit").linkbutton({
			 iconCls:'icon-edit',
			 text:'编辑',
			 onClick:function(){
				 zxy_ed_edit_emp();
			 }
		});
		function zxy_ed_edit_emp(){
			$("#zxy_ei_emp_detail").panel("refresh","../emp/empDetailEdit?empId="+empId);
	    	/* $("#zxy_ed_emp_basic").panel({
				tools:"#zxy_ed_emp_basic_eidt_tool"
			}); */
		}
	</script>
</body>
</html>